Action

public final class Action extends AsyncCallbackAction<R>

A responder for the BeforeFormRepostCallback.

Constructors

Link copied to clipboard
public void BeforeUnloadCallback.Action(Consumer<BeforeUnload.Response> consumer)

Functions

Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void leave()
Notifies the browser that the user decided to leave the current page.
Link copied to clipboard
public void stay()
Notifies the browser that the user decided to stay on the current page.